package cn.bxshey.resourceSharing.mapper;

import cn.bxshey.resourceSharing.entity.Faqs;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;


/**
 * (Faqs)表数据库访问层
 *
 * @author makejava
 * @since 2023-12-18 08:50:23
 */
@Mapper
public interface FaqsMapper extends BaseMapper<Faqs> {

    //统计多少条信息
    Long count(String issue);

    /**
     * 分页查询所有数据
     *
     */
   List<Faqs> page(@Param("current") Integer current,@Param("size") Integer size,@Param("issue") String issue);
}

